package com.atguigu.base;

//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main extends Thread{
    public static void main(String[] args) {
        MyTicket t = new MyTicket();

        Thread t1 = new Thread(t,"赵四");
        Thread t2 = new Thread(t,"广坤");
        Thread t3 = new Thread(t,"刘能");

        t1.start();
        t2.start();
        t3.start();
    }
}
